// 修改element表格样式
// size=small表单样式
.table-small {
    &.el-table .cell,
    &.el-table th div,
    &.el-table--border td:first-child .cell,
    &.el-table--border th:first-child .cell {
        padding-left: 0;
        padding-right: 0;
    }
    &.el-table {
        font-size: 12px; // 字体大小
        color: #767884;
        // 表格头部
        thead {
            color: #383a4a;
        }
        th {
            background-color: #f8f8f9;
            .cell {
                white-space: nowrap;
                text-overflow: ellipsis;
                overflow: hidden;
                line-height: 1.5;
            }
        }
        td,
        th {
            padding: 0;
            height: 30px;
        }
        .cell {
            line-height: 1.5;
        }
        .el-table__empty-block {
            min-height: 30px;
        }
        .el-table__empty-text {
            line-height: 30px;
        }
    }
    // 修改hover样式
    &.el-table--enable-row-hover .el-table__body tr:hover>td {
        background-color: #ecf5ff;
    }
}